package com.mornd.gulimall.product.entity.vo;

import com.mornd.gulimall.product.entity.SkuInfo;
import lombok.Getter;
import lombok.Setter;
import org.springframework.beans.BeanUtils;

import java.math.BigDecimal;

/**
 * @author: mornd
 * @dateTime: 2023/8/6 - 11:14
 */

@Getter
@Setter
public class SkuInfoVo extends SkuInfo {

    public SkuInfoVo() {
    }

    public SkuInfoVo(SkuInfo skuInfo) {
        BeanUtils.copyProperties(skuInfo, this);
    }

    // 查询范围
    private BigDecimal minPrice;
    private BigDecimal maxPrice;

    private String key;

    private String catalogName;
    private String brandName;
}
